import React, {useRef} from 'react'
import {View} from '@tarojs/components'
import BgImage from '@/components/BgImage/BgImage'
import Nav from '@/components/Nav/Nav'
import './Stay.scss'

const Stay: React.FC = () => {
  const imageUrl = useRef('https://img1.baidu.com/it/u=598725058,1888376806&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281')
  return <View>
    <BgImage url={imageUrl.current} paddingTop='73%' />
    <Nav text='西安住宿' />
    <View className='stay_wrap'>
      <View className='stay_wrap_tab'>
        12341234
      </View>
    </View>
  </View>
}

export default Stay
